<?php

namespace Ladenise\EveBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Invgroups
 */
class Invgroups
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var integer
     */
    private $categoryid;

    /**
     * @var string
     */
    private $groupname;

    /**
     * @var string
     */
    private $description;

    /**
     * @var integer
     */
    private $iconid;

    /**
     * @var integer
     */
    private $usebaseprice;

    /**
     * @var integer
     */
    private $allowmanufacture;

    /**
     * @var integer
     */
    private $allowrecycler;

    /**
     * @var integer
     */
    private $anchored;

    /**
     * @var integer
     */
    private $anchorable;

    /**
     * @var integer
     */
    private $fittablenonsingleton;

    /**
     * @var integer
     */
    private $published;

    /**
     * @var \Doctrine\Common\Collections\Collection
     */
    private $invtypes;

    /**
     * Constructor
     */
    public function __construct()
    {
        $this->invtypes = new \Doctrine\Common\Collections\ArrayCollection();
    }
    
    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set categoryid
     *
     * @param integer $categoryid
     * @return Invgroups
     */
    public function setCategoryid($categoryid)
    {
        $this->categoryid = $categoryid;
    
        return $this;
    }

    /**
     * Get categoryid
     *
     * @return integer 
     */
    public function getCategoryid()
    {
        return $this->categoryid;
    }

    /**
     * Set groupname
     *
     * @param string $groupname
     * @return Invgroups
     */
    public function setGroupname($groupname)
    {
        $this->groupname = $groupname;
    
        return $this;
    }

    /**
     * Get groupname
     *
     * @return string 
     */
    public function getGroupname()
    {
        return $this->groupname;
    }

    /**
     * Set description
     *
     * @param string $description
     * @return Invgroups
     */
    public function setDescription($description)
    {
        $this->description = $description;
    
        return $this;
    }

    /**
     * Get description
     *
     * @return string 
     */
    public function getDescription()
    {
        return $this->description;
    }

    /**
     * Set iconid
     *
     * @param integer $iconid
     * @return Invgroups
     */
    public function setIconid($iconid)
    {
        $this->iconid = $iconid;
    
        return $this;
    }

    /**
     * Get iconid
     *
     * @return integer 
     */
    public function getIconid()
    {
        return $this->iconid;
    }

    /**
     * Set usebaseprice
     *
     * @param integer $usebaseprice
     * @return Invgroups
     */
    public function setUsebaseprice($usebaseprice)
    {
        $this->usebaseprice = $usebaseprice;
    
        return $this;
    }

    /**
     * Get usebaseprice
     *
     * @return integer 
     */
    public function getUsebaseprice()
    {
        return $this->usebaseprice;
    }

    /**
     * Set allowmanufacture
     *
     * @param integer $allowmanufacture
     * @return Invgroups
     */
    public function setAllowmanufacture($allowmanufacture)
    {
        $this->allowmanufacture = $allowmanufacture;
    
        return $this;
    }

    /**
     * Get allowmanufacture
     *
     * @return integer 
     */
    public function getAllowmanufacture()
    {
        return $this->allowmanufacture;
    }

    /**
     * Set allowrecycler
     *
     * @param integer $allowrecycler
     * @return Invgroups
     */
    public function setAllowrecycler($allowrecycler)
    {
        $this->allowrecycler = $allowrecycler;
    
        return $this;
    }

    /**
     * Get allowrecycler
     *
     * @return integer 
     */
    public function getAllowrecycler()
    {
        return $this->allowrecycler;
    }

    /**
     * Set anchored
     *
     * @param integer $anchored
     * @return Invgroups
     */
    public function setAnchored($anchored)
    {
        $this->anchored = $anchored;
    
        return $this;
    }

    /**
     * Get anchored
     *
     * @return integer 
     */
    public function getAnchored()
    {
        return $this->anchored;
    }

    /**
     * Set anchorable
     *
     * @param integer $anchorable
     * @return Invgroups
     */
    public function setAnchorable($anchorable)
    {
        $this->anchorable = $anchorable;
    
        return $this;
    }

    /**
     * Get anchorable
     *
     * @return integer 
     */
    public function getAnchorable()
    {
        return $this->anchorable;
    }

    /**
     * Set fittablenonsingleton
     *
     * @param integer $fittablenonsingleton
     * @return Invgroups
     */
    public function setFittablenonsingleton($fittablenonsingleton)
    {
        $this->fittablenonsingleton = $fittablenonsingleton;
    
        return $this;
    }

    /**
     * Get fittablenonsingleton
     *
     * @return integer 
     */
    public function getFittablenonsingleton()
    {
        return $this->fittablenonsingleton;
    }

    /**
     * Set published
     *
     * @param integer $published
     * @return Invgroups
     */
    public function setPublished($published)
    {
        $this->published = $published;
    
        return $this;
    }

    /**
     * Get published
     *
     * @return integer 
     */
    public function getPublished()
    {
        return $this->published;
    }

    /**
     * Add invtypes
     *
     * @param \Ladenise\EveBundle\Entity\Invtypes $invtypes
     * @return Invgroups
     */
    public function addInvtype(\Ladenise\EveBundle\Entity\Invtypes $invtypes)
    {
        $this->invtypes[] = $invtypes;
    
        return $this;
    }

    /**
     * Remove invtypes
     *
     * @param \Ladenise\EveBundle\Entity\Invtypes $invtypes
     */
    public function removeInvtype(\Ladenise\EveBundle\Entity\Invtypes $invtypes)
    {
        $this->invtypes->removeElement($invtypes);
    }

    /**
     * Get invtypes
     *
     * @return \Doctrine\Common\Collections\Collection 
     */
    public function getInvtypes()
    {
        return $this->invtypes;
    }
}
